package com.jinxinol.core.util.http;

import java.io.IOException;


public class HttpRequesterTest {

	public static void main(String[] args) {
		try {
			HttpRequester httpRequester = new HttpRequester();
			httpRequester.setFileLocation("d:\\temp\\");
			String urlString = "http://192.168.0.15/UPSS/finance2009-07-02-09-27-27.xml";
//			String urlString = "http://www.zol.com.cn";
			urlString = urlString.replace(" ", "%20");
			HttpResponser httpResponser = httpRequester.sendGet(urlString, null);
			System.out.println(httpResponser.getContent());
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}

}
